package com.just.sxmiaosha.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.just.sxmiaosha.entity.StockUser;
import org.apache.ibatis.annotations.Select;

/**
 * @author xiao.shu
 * @date on 2020/9/29 16:18
 * @description

 */
public interface StockUserDao extends BaseMapper<StockUser> {

    @Select("select * from stock_user where id=#{userId}")
    StockUser getUser(int userId);
}
